﻿@if(Request.IsAuthenticated) {
    <text>
    Welcome @Html.ActionLink(Session["UserFullName"].ToString(),"Profile","Account")!<br />
    @Html.ActionLink("Admin", "Admin", "Home", new { area=""},null)&nbsp;|&nbsp;
    @Html.ActionLink("Logoff", "Logoff", "Account", new { area=""},null)
    </text>
}
else if((bool)Session["IsValid"]) {
    <text>Not logged in<br />
    [ @Html.ActionLink("Log On", "LogOn", "Account", new { area=""}, null) ]</text>
}
